//
//  XMLVisitorMessageModel.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/4/13.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "NormalReturnModel.h"

@interface XMLVisitorMessageModel : NormalReturnModel

@property (nonatomic,strong) NSString* orderid; /**< 预约id*/

@property (nonatomic,strong) NSString* accept; /**< 确认情况	0,待定，1确定，2拒绝*/

@property (nonatomic,strong) NSString* cpname; /**< 公司名*/

@property (nonatomic,strong) NSString* cpname_en; /**< 公司英文名*/

@property (nonatomic,strong) NSString* mapname; /**< 展馆名*/

@property (nonatomic,strong) NSString* order_time; /**< 预约时间*/

@property (nonatomic,assign) NSString* nowflag; /**< 1为当天*/

@property (nonatomic,strong) NSString* messagetype; /**< 0.预约，1.留言*/

@property (nonatomic,strong) NSString* value_ex; /**< 消息的内容*/

@property (nonatomic,strong) NSString* created_at; /**< 留言的时间*/

@property (nonatomic,strong) NSString* imgUrl; /**< 头像地址*/



+(void)requestVisitorMessageWithAcceptType:(NSString*)accept listCount:(NSInteger)count completion:(void(^)(BOOL isSuccess,NSMutableArray <XMLVisitorMessageModel*> *datalist))block;

+(void)requestVisitorLiuyanMessageWithType:(NSInteger)count completion:(void (^)(BOOL, NSMutableArray<XMLVisitorMessageModel *> *))block;

+(void)requestVisitorSendLiuyanType:(NSString *)content orderId:(NSString*)id
                                Url:(NSString*) url completion:(void (^)(BOOL))block;

@end
